package com.moxi.mogublog.xo.service.xuan;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.moxi.mogublog.commons.entity.xuan.College;
import com.moxi.mogublog.commons.vo.college.CollegeVo;
import com.moxi.cloudblog.base.service.SuperService;

import java.util.List;

public interface CollegeService extends SuperService<College> {


    /**
     * 通过博客分类UID获取博客列表
     *
     * @param collegeSortUid
     * @param currentPage
     * @param pageSize
     * @return
     */
    public IPage<College> getListByCollegeSortUid(String collegeSortUid, Long currentPage, Long pageSize);

    public boolean addCollege(CollegeVo collegeVo);

    public List<College> getHotCollegeList();
}
